define([
    'require',
    'jquery',
    'jqueryDataTables'
], function(require, $) {
    //datatable的本地搜索
    'use strict';
    return function tableSearch() {
        var table = $("#example").DataTable();
        console.log('search')
        table.search(arguments[0]).draw();
    }
});